linq query select top 1 c#

54

linq query select top 1 c# -

imageName = (from soh in db.tblProductImages
             where soh.product_id == e.ProductId
             select soh.image_name).FirstOrDefault()

Comments

Submit
0 Comments